{% extends "contest/base.html" %}
{% block title %}
    Slopes
{% endblock %}

{% block content %}
    {% if slope_list %}
    <table class="ranking">
        <tr>
            <th>Number</th>
            <th>Score</th>
        </tr>
        {% for slope in slope_list %}
        <tr class="{% cycle 'alt' 'normal' %}">
            <td>{{slope.number}}</td>
            <td>{{slope.score}}</td>
        </tr>
        {% endfor %}
    </table>
    {% else %}
        <p>No Slope found</p>
    {% endif %}
{% endblock %}

